package com.coolgor.axnut.entity.airuc;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 学院实体类
 * 为了便于以后，拓展系统为其他组织使用。
 * @author CoolGor
 *
 */
public class College {
	private Long collegeID;
	private String collegeName;	
	private String collegeDesc;		
	private String collegeImg;	
	private Long priority;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")	
	private Date lastEditTime;	
	private String parentID;
	private List<Course> courseList;
	
	public Long getCollegeID() {
		return collegeID;
	}
	public void setCollegeID(Long collegeID) {
		this.collegeID = collegeID;
	}
	public String getCollegeName() {
		return collegeName;
	}
	public void setCollegeName(String collegeName) {
		this.collegeName = collegeName;
	}
	public String getCollegeDesc() {
		return collegeDesc;
	}
	public void setCollegeDesc(String collegeDesc) {
		this.collegeDesc = collegeDesc;
	}
	public String getCollegeImg() {
		return collegeImg;
	}
	public void setCollegeImg(String collegeImg) {
		this.collegeImg = collegeImg;
	}
	public Long getPriority() {
		return priority;
	}
	public void setPriority(Long priority) {
		this.priority = priority;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastEditTime() {
		return lastEditTime;
	}
	public void setLastEditTime(Date lastEditTime) {
		this.lastEditTime = lastEditTime;
	}
	public String getParentID() {
		return parentID;
	}
	public void setParentID(String parentID) {
		this.parentID = parentID;
	}
	public List<Course> getCourseList() {
		return courseList;
	}
	public void setCourseList(List<Course> courseList) {
		this.courseList = courseList;
	}
	@Override
	public String toString() {
		return "College [collegeID=" + collegeID + ", collegeName=" + collegeName + ", collegeDesc=" + collegeDesc
				+ ", collegeImg=" + collegeImg + ", priority=" + priority + ", createTime=" + createTime
				+ ", lastEditTime=" + lastEditTime + ", parentID=" + parentID + ", courseList=" + courseList + "]";
	}

}
